package is.ru.honn.rupin.service;

import is.ru.honn.rupin.domain.Board;
import is.ru.honn.rupin.domain.Pin;

import java.util.List;

/**
 * This interface contains the actions for the follower service
 * @author Einar Sigurðsson
 * @version 1.0, 11/19/12
 */
public interface FollowerService {
    /**
     * This functions adds a follower object for the two users to the data source
     * @param follower the follower
     * @param followee the user to follow
     */
    void follow(String follower, String followee);

    /**
     * Checks if the current user is following another user
     * @param follower the current user
     * @param followee another user
     * @return true or false
     */
    boolean isFollowing(String follower, String followee);
    List<Pin> getFolloweePins(String username);
    List<Pin> getFollowerPins(String username);
}
